<?php

	require_once APPPATH . 'controllers/base_controllers/base_controller.php';
	
	class registration_home extends Base_controller
	{
		public function __construct()
		{
			parent::__construct();
		}
		
		
		public function index()
		{
			$data['title'] = 'New Member Registration';
			$data['view'] = 'cmb/home/registration_home_view';
			
			$this->load->view( 'templates/registration/registration_template', $data );
		}
		
        public function metrowest()
        {
            $data['title'] = 'MetroWest New Member Registration';
            $data['view'] = 'cmb/home/registration_home_mw_view';
            
            $this->load->view( 'templates/registration/registration_template', $data );
        }
        		
		public function participant_scroller()
		{
			$this->load->model('proxies/Walk_proxy');
			
			/* $participants = array();
			array_push($participants, "John Doe");
			array_push($participants, "Jane Doe");
			array_push($participants, "Bob Doe");
			array_push($participants, "Steve Doe");
			array_push($participants, "Stacey Doe");
			array_push($participants, "Mike Doe");
			array_push($participants, "Kate Doe");
			array_push($participants, "Marry Doe");
			array_push($participants, "Sean Doe"); */
			
			// $data["participants"] = $participants;
			$data['participants'] = $this->Walk_proxy->getTopFundraiserList();
			
			$this->load->view( 'cmb/home/participant_scroller_view', $data );
		}
	}

?>